package com.ziyun.erp.common.e.order;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 下单来源
 * @author gaosheng
 * @date 2018-10-20 14:42
 */
public enum  SourceEnum implements BaseEnum{

    PC("pc","pc"),
    WAP("wap","wap"),
    WEIXIN("weixin","weixin"),
    IOS("ios","ios"),
    ANDROID("android","android"),

    ;
    private String code;
    private String describe;

    SourceEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
